Using versioning to back up multiple versions of a stored object

ABSTRACT

Using a versioning feature of an authoring application to back up multiple versions of a stored object in single, version-enabled instance stored on backup media is disclosed. In some embodiments, an indication is received that a subsequent version data associated with an object an existing instance of which is stored in a backup storage location is to be backed up. A version control mechanism of an authoring application that created or updated the object as stored in a primary storage location is invoked to incorporate the subsequent version data into the existing instance of the object as stored in the backup storage location.

CROSS REFERENCE TO OTHER APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.11/714,714, entitled USING VERSIONING TO BACK UP MULTIPLE VERSIONS OF ASTORED OBJECT filed Mar. 5, 2007 which is incorporated herein byreference for all purposes.

BACKGROUND OF THE INVENTION

Traditionally, an incremental or differential backup by an object (e.g.,file) based backup system and/or application has involved storing tobackup media (e.g., a secondary disk) a backup copy of any object thathas been newly created or modified since a last backup. Typically, everytime an object is modified, the entire object is stored to backup mediaagain. This leads to two copies of the same object on the backup media(e.g., tape or secondary disk), resulting in data redundancy. Inaddition, under the traditional approach, the backup software createsand maintains for every new version of an object that gets backed up anindex entry and/or other metadata corresponding to the version. Thepresence on backup media of many version of the same object, eachpotentially stored in a different location, may also result in a long“recovery window”, i.e., the time it takes to locate, retrieve, andrestore a desired version, due to the fact that the appropriatetape/disk must be searched to retrieve the desired version.

Therefore, a solution is needed that provides faster and more reliablebackup and restore while saving costly storage space by avoiding dataredundancy.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the followingdetailed description and the accompanying drawings.

FIG. 1 shows the initial backup cycle, under a prior art approach, whenan object gets created.

FIG. 2 shows the backup cycle, under a prior art approach, when apreviously backed up object is updated.

FIGS. 3 a, 3 b, 3 c and 3 d illustrate an embodiment of an initialbackup of a newly created (i.e., not previously backed up) object.

FIG. 4 shows a flow diagram of an embodiment of a process for performingan initial backup of a newly created (i.e., not previously backed up)object.

FIGS. 5 a, 5 b, 5 c and 5 d illustrate an embodiment of a process forperforming a backup of a previously backed up object that has beenupdated.

FIGS. 6 a and 6 b show a flow diagram of an embodiment of a process forperforming a backup of a previously backed up object that has beenupdated.

FIG. 7 shows a flow diagram illustrating an embodiment of a process forrecovery of a desired version of an object.

FIG. 8 shows a flow diagram illustrating an embodiment of a process forapplying a retention policy.

DETAILED DESCRIPTION

The invention can be implemented in numerous ways, including as aprocess, an apparatus, a system, a composition of matter, a computerreadable medium such as a computer readable storage medium or a computernetwork wherein program instructions are sent over optical orcommunication links. In this specification, these implementations, orany other form that the invention may take, may be referred to astechniques. A component such as a processor or a memory described asbeing configured to perform a task includes both a general componentthat is temporarily configured to perform the task at a given time or aspecific component that is manufactured to perform the task. In general,the order of the steps of disclosed processes may be altered within thescope of the invention.

A detailed description of one or more embodiments of the invention isprovided below along with accompanying figures that illustrate theprinciples of the invention. The invention is described in connectionwith such embodiments, but the invention is not limited to anyembodiment. The scope of the invention is limited only by the claims andthe invention encompasses numerous alternatives, modifications andequivalents. Numerous specific details are set forth in the followingdescription in order to provide a thorough understanding of theinvention. These details are provided for the purpose of example and theinvention may be practiced according to the claims without some or allof these specific details. For the purpose of clarity, technicalmaterial that is known in the technical fields related to the inventionhas not been described in detail so that the invention is notunnecessarily obscured.

Performing a backup of objects created or updated by an applicationequipped with a version control mechanism is disclosed. An applicationthat creates and/or updates stored objects is sometimes referred toherein as an “authoring application”. The term “authoring application”is not limited to word processing applications and instead refers to anyapplication that creates or updates stored objects, such as files orother file system objects. In various embodiments, a version controland/or tracking mechanism of the authoring application software is usedto store in a backup location (e.g., a secondary server and/or disk) asingle instance of an object stored on a production server or otherprimary storage location, in which single instance all backed upversions of the object are included, without requiring that the versioncontrol mechanism be used to include/track all such versions in theobject as stored in the primary location. As used herein, the term“instance” refers to a copy of an object or the object itself, and maycontain multiple versions of the object within itself.

In some embodiments, an object created or updated on a first or“production” server by an authoring application is exported to aspecific folder. In some embodiments, the specific folder is on thefirst server. In some embodiments, the object is exported at least inpart by invoking a version control mechanism of and/or an API or otherinterface exposed or otherwise implemented by the authoring applicationsoftware. A backup software or other process is run, e.g., as per ascheduled program for backing up data. The object placed in the specificfolder by the authoring application, which may be an original versionthat has not been backed up previously or an updated version of anobject an original version of which was placed in the specific folderand/or backed up previously, is moved (for example, by a backupapplication or other process) to a specific folder on a second or backupserver and/or disk. The version control mechanism of the applicationsoftware that created or updated the object is used to import the objectas placed in the specific folder of the second or backup server to abackup location on said second or backup server. If an instance of theobject is not already present at the backup location, the applicationsoftware creates a base instance of the object at said backup locationon the second or backup server by exporting the original instance to thebackup location. If an instance of the object is not already present atthe backup location, the application software imports the object intothe existing instance as a new version. In some embodiments, only thelatest version of the object resides on the first or production server.

In some embodiments, a computer program product embodied in a computerreadable medium comprises computer instructions to back up an object byleveraging a version control feature of the application software used tocreate or update said object in a manner so that the latest version ofthe object resides on a production server where it is created or updatedand all the versions of the object including the original are includedin a single instance of the object as stored at a backup location on abackup server.

In some embodiments, recovery of an object backed up as described hereinis performed at least in part by browsing a list of objects availablefor recovery; retrieving an instance of an object of interest from thebackup server; and selecting a version of interest from said retrievedinstance of the object. In some embodiments, a backup software maintainsan index comprising the names of objects for which it has performedbackup and the application software maintains an index for all versionsof the object within the instance of said object as present on thebackup server.

In some embodiments, a retention policy is applied to backed up objects,so that older versions of objects beyond a retention period set by thepolicy are deleted automatically from the object as stored on backupmedia. In various embodiments, the retention period is set by default,user input, etc.

In a traditional backup scenario of the disk-to-disk-to-tape (D2D2T)type, in which a backup copy of an object is kept on a disk first andlater is rolled onto a tape, the requirement to perform backup of set ofobjects is presently met by the following procedure:

The user first creates a set of objects on the production server. Forpurpose of explanation only, the objects are assumed to be MS wordobjects having names Doc1.doc and Doc2.doc, with object sizes of 1 MBeach. Once the objects are created, the user closes the objects. Thebackup software which is configured to run at a specific time getstriggered and picks both of these objects and performs a backup of thesame, e.g., to a secondary or backup disk. In this process, the backupsoftware transfers 2 MB of data on the whole for both the said objects.FIG. 1 illustrates the initial backup cycle when Doc1 gets created,according to the traditional backup technique.

On the second day, the user opens the object Doc1.doc, alters itscontents and then saves the changes. The changes made to the objectDoc1.doc may be assumed to be 100 Kb in size. The backup software, whichis configured to perform an incremental backup, picks up the objectDoc1.doc as soon as it detects that Doc1.doc has undergone a change, andperforms a backup of the said object onto the backup disk. In thisprocess, a total of 1.1 MB of data is transferred by the backup softwareand the updated version of the object is stored onto the backup disk.The backup destination (disk in this case) now contains two versions ofthe object Doc1.doc, one which has the latest updates and the other onewhich is the first instance. The total size of the object Doc1.doc onthe backup destination (disk) is 2.1 Mb (1 MB of the first instance and1.1 MB of the second version). FIG. 2 illustrates the backup cycle whenDoc1 undergoes an update, according to the traditional backup technique.Similarly, for each subsequent backup period during which an update isperformed on the objects Doc1.doc or Doc2.doc, a new complete copy ofthe object as updated will be stored to the backup disk.

Even though there is only 100 Kb or 0.1 Mb of data difference betweenthe first and second versions of the object Doc1.doc in the exampledescribed above, the entire object is saved twice. This leads toapproximately 1 MB of redundant data being stored with every backupinstance of the object onto the backup device any time the object ismodified (in case of addition of content to the object, as opposed todeletion or modification of previously existing content). Thus, withevery instance of the object that gets backed up, under the traditionalapproach typically there is some redundant data that gets stored.

Saving space on backup storage by making the application softwareparticipate to a greater extent in the backup is disclosed. In someembodiments, the application software is adapted to maintain, within asingle instance of an object as stored on backup media, differentversions of the object (or maintain the history of the object changes),rather than the backup software maintaining multiple copies of theobject.

When application software maintains versions of a given object within asingle instance stored on backup media, the amount of disk space used tostore data required to be able to restore the object to a version ofinterest is relatively very less when compared to storing each versionas a separate copy of the object.

The Microsoft™ Word word processing application, for example, can beconfigured to create a new version of an object anytime a save operationis performed, whereby all versions of the object are contained withinthe same instance of the object. Being configured in such a way, for anobject that has an initial size of 1 Mb and which has undergone a changeof 100 kb, MS word stores both the versions of the said object withinthe same instance, and in that consumes a disk space of around 1.1 Mb.On the contrary, if there are two copies of the object maintainedseparately that contain updates independently, the total amount of diskspace that is consumed to store both versions of the object is 2.1 MB (1Mb for the base version, and 1.1 Mb for the version that has undergonemodifications).

In some embodiments, only the latest version of an object resides on theprimary disk/production server while a version control enabled copyresides on the secondary/backup disk. This helps in keeping the objectsize on the primary disk manageable as well as having the advantage ofusing the version control mechanism of the application software to storeand keep track of the various versions of the object, instead ofrequiring the backup application to track the version information, e.g.,in an index.

In some embodiments, a new object is first created by an authoringapplication in a location \\Primary on the primary disk/productionserver. An initial backup of the object is performed, resulting in aninitial instance being saved to a backup disk or other storage media,e.g., to a location \\Secondary. When the object undergoes modification,the application software exports the changes to a shared location, e.g.,\\Primary\share, on the primary disk/production server. In someembodiments, the changes are exported by storing in the shared locationon the primary disk/production server a copy of the object as modifiedand/or corresponding version information or metadata. In someembodiments, the application software uses its own version controlmechanism to export the changes. After the object has been exported tothe shared location, \\Primary\share in this example, in someembodiments a backup application or other process moves the new versionfrom the shared location on the primary disk/production server to ashared location on the secondary disk and/or server, e.g.,\\Secondary\share. The backup application or other process then promptsthe authoring application to import the object as a new version to theexisting instance of the object present in an ultimate backupdestination, e.g., \\Secondary. The import of the new version of theobject leverages the version control feature of the authoringapplication to achieve efficient storage on backup media of the currentand prior versions of the object while at the same time relieving thebackup application of the responsibility for keeping track of thevarious versions and where each is stored.

In some embodiments, the backup application is also used to performrecover operations on request. In various embodiments, the backupapplication maintains an object level index, does not maintain an objectlevel index, or can be configured, e.g., at the option of anadministrator or other authorized user, to maintain or not maintain anobject level index, as desired. In some embodiments, to perform arecover operation the authoring application is invoked, e.g.,programmatically by the backup application or other recover process, toretrieve a desired object. In some embodiments, once an instance of anobject to be restored has been retrieved from backup storage, theauthoring application is invoked, e.g., programmatically by the backupapplication or other recover process, to identify and restore a desiredversion of an object, e.g., by saving to a primary storage location arecovered copy of the version of interest.

In some embodiments, the authoring application stores within aversion-enabled object as stored in backup media version information forthat object. The version information is maintained in some embodimentsin the same manner as for versioning-enabled objects stored on theproduction server or other primary storage location. For example,Microsoft™ Word maintains the different versions of an object within asingle instance of the object.

In various embodiments, the authoring application provides and/or isconfigured and/or modified to provide a mechanism to enforce a retentionpolicy for the versions of an object that it creates. In someembodiments, an API or other interface is defined that enables a backupapplication or process to interact programmatically with the authoringapplication to configure the authoring application to enforce withrespect to the respective versions within a multi-versioned objectstored on backup media an applicable retention policy and/or period,e.g., to ensure that versions that are older than the applicableretention period are purged. In such embodiments, the backup applicationor process is relieved of the responsibility for tracking each versionand its corresponding date of creation, and enforcing retention bydeleting a version when it is no longer required and/or permitted to beretained. Instead, the retention mechanism of the authoring applicationis relied on to enforce proper retention.

In some embodiments, the authoring application is adapted to expose orotherwise implement an API or other interface that is used by the backupsoftware to trigger programmatically import commands, such as a requestthat a new version that has been moved to a shared location on a backup(secondary) storage be incorporated as a new version into acorresponding existing base or versioned instance of the object asstored in the backup storage.

In some embodiments, a backup as described herein is performed in thecontext of a D2D2T backup scheme. An object (and/or subsequent versionsthereof) is backed up initially to a secondary disk and is later movedonto tape.

In some embodiments, the primary disk holds only the latest version ofthe object and does not hold the history of versions. When modificationsare made to the object, the object will continue to reside on thelocation \\Primary. However, a copy of the latest version of the objectwill reside on the location \\Primary\share until the backup softwareputs it onto \\Secondary\share. During the entire process, the objectthat is present under \\Primary will continue to exist. The exportmechanism will only have a new version of the object in \\Primary\share.It does not remove or move the version present in \\Primary to\\Primary\share. The application software makes a copy of the objectrather than performing a move. In some embodiments, multiple successiveversions of an object may be present in the shared location\\Primary\share, for example if the same object has been modified andsaved multiple times between successive scheduled backups. In someembodiments, version numbers and/or other metadata are used to ensurethat successive versions are handled, e.g., imported as versions into aninstance of the object as stored on backup media, in the correct orderand/or manner.

FIGS. 3 a-3 d and 4 illustrate an embodiment of a process for performingan initial backup when a new object is created, e.g., by and/or using anauthoring application. In the example shown, a user invokes an authoringapplication to create a new object in the primary disk (FIGS. 3 a and 41in FIG. 4). The user performs operations on the object and then savesall the changes of the object. On invoking the save command, theauthoring application exports the latest version of the object Doc1, inthis case the newly created initial version, from the location \\Primaryonto the folder \\Primary\share. In this case, the authoring applicationmakes a copy of the object in \\Primary\share, as this is the first timethe object is created (FIGS. 3 b and 42 in FIG. 4). In some embodiments,the export performed at 42 of FIG. 4 comprises a copy of the latestversion that contains the most recent changes. In the example shown, theauthoring application stores the object Doc1 in the name of Doc1-1 inthe \\Primary\share location. It also designates the version of theobject that is present in location \\Primary with the number “1”. Theversion number of the object is stored with the object as stored on\\Primary. In other words, when the user saves the changes to the objectDoc1 on the disk \\Primary, the application software internallymaintains the version number “1” inside the same instance of the objectand then exports the object in the name of Doc1-1 to the location\\Primary\share. At this stage, there are two copies of the object thatare currently available. The first one is present in \\Primary and thesecond one is present in \\Primary\share.

The backup software, which is scheduled to run for example at aspecified time, is configured to look into the folder \\Primary\sharefor changed objects (FIGS. 3 c and 43 in FIG. 4). In the example shown,the scheduled backup when run looks into \\Primary\share and findsDoc1-1 present therein. It then performs a backup of this object to thesecondary disk. In the example shown, the backup software places theobject Doc1-1 from \\Primary\share to \\Secondary\share (FIGS. 3 c and44 in FIG. 4).

After successful copy of Doc1-1 from \\Primary\share to\\Secondary\share, the backup software interfaces with the authoringapplication and requests that the authoring application import theobject(s) (in this example object Doc1-1) present on \\Secondary\share(FIGS. 3 d and 45 in FIG. 4). In some embodiments, the backup softwareuses an API or other interface that the authoring application exposes tointeract programmatically with the authoring application to request theimport operation. On receiving the request to import, the authoringapplication scans for all available objects present under\\Secondary\share. It finds the object (in this example object Doc1-1)present under location \\Secondary\share. The application software picksDoc1-1 from \\Secondary\share and searches for an instance of saidobject in \\Secondary. Since in this example the object is just createdand is being backed up for the first time, the application softwarefails to find an instance of the object Doc1. Hence, it merely copiesthe object from \\Secondary\share onto the location \\Secondary (FIGS. 3d and 46 in FIG. 4) in the name of Doc1. In the example shown theauthoring application removes the “−1” portion of the name of the objectsuch that the object is stored at \\Secondary with its original name.

In some embodiments, the backup software that is scheduled to run forperforming the backup from \\Secondary to tape eventually picks theinstance of Doc1 and performs a backup onto tape.

The procedure described above comprises one single cycle of backup ofobjects which have been created. The resulting state of the system isthat there is one object Doc1 which has been created on the disk\\Primary and which has a backup on the disk \\Secondary.

FIGS. 5 a-5 d and 6 a-6 b illustrate an embodiment of a backup procedurefor an update of an object an instance of which has already been storedon backup media. In the example shown, a user accesses the object Doc1existing in the location \\Primary (that has been backed up once in thisexample), updates the object and then saves the changes in the object(FIGS. 5 a and 61 in FIG. 6 a). The size of the object after update isassumed as 1.1 Mb in this example. On receiving the save notification,the authoring application recognizes that an update has been made to theobject Doc1 that resides in the location \\Primary and exports theobject to \\Primary \share (FIGS. 5 b and 62 in FIG. 6 a). In performingthe export, the application software first reads the existing version ofthe object that is maintained internally. It discovers the currentversion number of Doc1 to be “1”. The application software alters thisversion number initially by incrementing the version number to “2”,stores the new version number “2” within the object and then performs anexport of the changes that has occurred to the object to the location\\Primary\share in the form of a new version having the name Doc1-2, asshown in FIG. 5 b. The version number is set to “2” as it is the secondversion of the object Doc1 that has been saved since its creation. Insome embodiments, the application software only performs an export ofthe changes in the object. It efficiently backs up new content andupdated operational data. It does not delete the object from thelocation \\Primary.

The backup software, which in some embodiments runs at a scheduled time,looks into the folder \\Primary\share for new or changed objects (63 inFIG. 6 a). On locating any object therein, the object is moved from\\Primary\share to the shared location, \\Secondary\share in thisexample, on the secondary/backup drive (FIGS. 5 c and 64 in FIG. 6 a).In this case, the backup software finds Doc1-2 in the folder\\Primary\share and copies it to the location\\Secondary\share. After asuccessful transfer of the objects from \\Primary\share to\\Secondary\share on completion of the backup, the backup softwaredeletes the objects present on \\Primary\share.

The backup software, after moving the object(s) from \\Primary\share to\\Secondary\share, invokes the application software (65 in FIG. 6 a). Onreceiving the notification from the backup software, e.g., through anAPI such as described above, to perform an import, the authoringapplication scans the location \\Secondary\share and finds the objectDoc1-2. The application software checks the location \\Secondary forbase version (66 in FIG. 6 b). From the name of the object, theapplication software determines that an instance of Doc1 is present inthe disk location \\Secondary. It then imports the object into theexisting instance as a new version (FIGS. 5 d and 67 in FIG. 6 b). Insome embodiments, the authoring application reads the current versionnumber of the object (Doc1) which is present under \\Secondary, andfinds that the version is “1”. It increments the version number to “2”and then performs an import of the object Doc1-2 from \\Secondary \shareonto the instance of Doc1 present in the disk \\Secondary, as shown inFIG. 5 d. After successful import, in some embodiments the authoringapplication removes the object version (Doc1-2) that is present underthe location \\Secondary\share (68 in FIG. 6 b). The instance of theobject Doc1 present in the disk \\Secondary now contains 2 versions. Insome embodiments, objects that are present in the location \\Secondarythat have had more than one version backed up maintain object versionswithin them.

The processes illustrated in FIGS. 3 a-6 b are repeated, in variousembodiments, as new objects are created and/or existed objects updatedand successive periodic or other backups are performed.

A typical prior art approach to restoring a specific version of anobject from backup is to search among backups to locate the tape(s) onwhich data associated with a date associated with the desired versionhas been backed up, and then to locate the object within the tape(s). Insome embodiments, by using the techniques described herein, the recoverwindow is reduced due to the fact that the backup instance of the objectwhich is maintained on the secondary disk has within it previousversions of the object that were created and saved. On a recoverrequest, in some embodiments the entire object is recovered from diskwith all previous versions in it. The user can choose from the objectversions according to his needs. A desired version may be restored tothe primary storage.

In some embodiments, the backup software will have reduced indexingrequirements, as compared to traditional backups, when the techniquesdescribed herein are used. In some embodiments, the backup software onlymaintains an index or other record indicating which objects were backedup in a particular backup operation, e.g., one performed at a particularscheduled time. The traditional backup software maintains indexes forall objects backed up and also the details on the history/versions ofeach object. For example, if there exists a object Doc1 that has beenupdated three times in a span of three days (e.g., an update once aday), traditional backup software would maintain a record of the objectand each backed up version, e.g., to enable a user to select whichversion of the object is required to be recovered. In some embodiments,the backup software does not maintain version data in its index andinstead relies on the authoring application to store such informationwithin the instance of an object as stored on backup media. In someembodiments, the user can select which version of the object he requiresfrom within a user interface of the authoring application softwareitself, rather than having to go through the backup software.

FIG. 7 shows a flow diagram illustrating an embodiment of an operationto restore, using backup data, a desired version of an object. At 71, auser browses a list of objects which is available to be recovered andselects an object. At 72, it is determined whether the selected objectis present in the \\Secondary disk. If so, the object is recovered (74)and provided to the user. The single instance of the object recovered at74 in some embodiments contains all versions still under retention ofthe object (75). The user can select the version of the object herequires to recover. In some embodiments, the authoring application isused to determine and display to the user at 75 which versions areembodied in the instance of the object that was recovered at 74. In someembodiments, the authoring application is used to receive from the userat 75 a selection of a version to be restored and to store on theprimary disk, e.g., in a restore location, an instance of the objectthat comprises just the version that the user has indicated the userdesires to recover. Referring further to FIG. 7, if it is determined at72 that an object selected at 71 is not present on the \\Secondary disk,an error message is presented to the user (73) indicating an error inthe process.

In a typical case, use of the techniques described herein will result ina reduction in the recover time window, since it is only necessary tofind and retrieve a single instance of the object, rather than siftthrough multiple separate instances (e.g., versions) each potentiallystored in a different location.

In some embodiments, the objects that are stored on the disk \\Secondaryare version control enabled, hence, they will tend to store the entirehistory of the object within themselves. In some embodiments, thehistory gets backed up every time the backup runs from the secondarydisk to tape. The history and prior version data also uses disk space onthe secondary disk. In some embodiments, retention policies are appliedto version enabled objects as stored on backup media to ensure thatversions created prior to a current retention period are not retained.In some embodiments, the authoring application is configured to deletefrom instances of objects as stored on the secondary disk versions thatare older than a prescribed retention period. In some embodiments, theretention policy is configured at the authoring application software. Insome embodiments, retention policies are determined by the applicationsoftware at the time of creation of an object. In some embodiments, theretention policy is configured once on the authoring applicationsoftware and it will be applied to all objects or data stores that getcreated once the policy is set. For example, the user may configure aretention policy on the application software to delete all versions ofthe object or data store that have been retained within the object thatare older than 2 years from the date of creation of that version.

FIG. 8 is a flow diagram depicting an embodiment of a process forapplying a retention policy to version enabled instances of objectsstored on backup media. At 81, an applicable retention policy isdetermined by the authoring application software at the time of creationof the object. The retention policy is enabled or gets activated oncreation of any object (82). The application software continuouslychecks for the expiry of retention policy of versions of objects withinan instance of the object as stored on backup media (83). Once theapplication software detects that a particular version of an object isno longer to be retained in the secondary disk according to theretention policy, it deletes that version from the instance of theobject as stored on the secondary disk (84). In some embodiments, on the\\Secondary disk, the application is or may be configured to check,e.g., periodically, the objects as stored on the secondary disk anddelete versions whose retention periods have expired. The space on thedisk \\Secondary can be reduced in many cases if older and no longerrelevant versions of objects are removed.

In some embodiments, if required at a later stage, a version of anobject that has been removed from an instance of the object as stored ona secondary disk can be recovered using data backed up from thesecondary disk to tape prior to the version being deleted from theinstance as stored on the secondary disk.

In some embodiments, a default retention policy/period that an authoringapplication and/or backup software are configured to use by default canbe altered by a user. Retention policies can be modified in someembodiments by the user configuring the retention policy, including theoption to retain all versions of an object on the secondary disk (i.e.,unlimited retention period). In such a case when different objectsrequire different retention time periods, for example some objectscontain important content that must be retained for long periods oftime, the user will be able to retain for longer periods versions ofsuch objects by having retention policies that are configured for longerperiods of time or even have the option of maintaining the objectsperpetually. Thus, protection of key data is ensured with policy-basedmanagement of information retention/deletion.

In some embodiments, checksum validation is used in connection with thetechniques described herein. In some embodiments, the authoringapplication adds the checksum when it exports a changed version of anobject to the \\Primary\share location. In some embodiments, thechecksum is embedded within the object version itself. When theauthoring application imports the new version of the object onto thebase version present on \\Secondary, it validates the checksum againstthe value that is embedded within the version of the object. If thevalue that the application software generates during the import matchesthe one that is present in the version of the object, the import isconsidered to be successful.

Data compression techniques are applied in some embodiments. Thecompression technique can be best applied when the data gets exportedinto the \\Primary\share location. In this connection, the applicationsoftware can first export the data onto a new version and then call acompression algorithm. This will ensure that the data that gets backedup will be in the compressed format leading to further reduction in thebackup window. The data can be uncompressed to regular form on thesecondary disk or the application software can maintain the data in thecompressed format and then decide to uncompress it during the time ofrecovery.

While certain embodiments have been described taking objects that aregenerated using Microsoft™ Word as the authoring application, thetechniques described herein are not limited to Microsoft™ Word and maybe applied in connection with other authoring applications as well. Thebackup techniques described herein, for example, are applicable to anyauthoring application software and database store that implementsversion control for the data that it generates. The application softwarecan be anything from databases to object generators.

Although the foregoing embodiments have been described in some detailfor purposes of clarity of understanding, the invention is not limitedto the details provided. There are many alternative ways of implementingthe invention. The disclosed embodiments are illustrative and notrestrictive.

1. A computer-implemented method for performing a backup of a storedobject, comprising: receiving an indication that a subsequent versiondata associated with an object stored by an authoring application in ashared primary storage location on a primary storage device is to bebacked up to a backup storage location, wherein the subsequent versiondata includes modifications to the object and wherein an existinginstance of the object is already stored at the backup storage location,as determined at least in part by determining that the existing instancestored in the backup storage location is associated with an objectidentifier associated with the object; and invoking, by a backupapplication, a version control mechanism of the authoring applicationthat created or modified the object stored in the primary storagelocation to incorporate the subsequent version data as copied to thebackup storage location into the existing instance of the object asstored in the backup storage location; wherein the version controlmechanism of the authoring application is invoked by the backupapplication programmatically via an API or other interface of theauthoring application.
 2. The method of claim 1, wherein the authoringapplication is configured to export subsequent version data by storingsubsequent version data in the shared primary storage location when anew version of a stored object is saved.
 3. The method of claim 1,wherein the authoring application incorporates the subsequent versiondata into the existing instance of the object as stored in the backupstorage location by importing the subsequent version data from a secondshared storage location to the backup storage location.
 4. The method ofclaim 1, wherein the backup storage location comprises a storagelocation on a secondary disk.
 5. The method of claim 1, wherein thebackup storage location comprises a storage location on a backup server.6. The method of claim 1, wherein the backup application or anotherprocess is configured to maintain in an index an indication that theobject has been backed up but not version information for the object. 7.The method of claim 1, wherein the authoring application is configuredto use the existing instance as stored in the backup storage location toidentify one or more versions available to be recovered.
 8. The methodof claim 7, wherein the authoring application is further configured todisplay to a user a displayed data indicating said one or more versionsavailable to be recovered.
 9. The method of claim 8, wherein theauthoring application is further configured to receive a selection of adesired version to be recovered; and recover the desired version.
 10. Acomputer system to perform a backup of a stored object, comprising: aprimary storage device; and a processor configured to: receive anindication that a subsequent version data associated with an objectstored by an authoring application in a shared primary storage locationon a primary storage device is to be backed up to a backup storagelocation, wherein the subsequent version data includes modifications tothe object and wherein an existing instance of the object is alreadystored at the backup storage location, as determined at least in part bydetermining that the existing instance stored in the backup storagelocation is associated with an object identifier associated with theobject; and invoke, under control of a backup application, a versioncontrol mechanism of the authoring application that created or modifiedthe object stored in the primary storage location to incorporate thesubsequent version data as copied to the backup storage location intothe existing instance of the object as stored in the backup storagelocation; wherein the version control mechanism of the authoringapplication is invoked by the backup application programmatically via anAPI or other interface of the authoring application.
 11. The system ofclaim 10, wherein the authoring application is configured to exportsubsequent version data by storing subsequent version data in the sharedprimary storage location when a new version of a stored object is saved.12. The system of claim 10, wherein the authoring applicationincorporates the subsequent version data into the existing instance ofthe object as stored in the backup storage location by importing thesubsequent version data from a second shared storage location to thebackup storage location.
 13. The system of claim 10, wherein the backupstorage location comprises a storage location on a secondary disk. 14.The system of claim 10, wherein the backup storage location comprises astorage location on a backup server.
 15. The system of claim 10, whereinthe backup application or another process is configured to maintain inan index an indication that the object has been backed up but notversion information for the object.
 16. The system of claim 10, whereinthe authoring application is configured to use the existing instance asstored in the backup storage location to identify one or more versionsavailable to be recovered.
 17. A non-transitory computer readablestorage medium, comprising computer instructions which when executed bya computer cause the computer to perform the steps of: receiving anindication that a subsequent version data associated with an objectstored by an authoring application in a shared primary storage locationon a primary storage device is to be backed up to a backup storagelocation, wherein the subsequent version data includes modifications tothe object and wherein an existing instance of the object is alreadystored at the backup storage location, as determined at least in part bydetermining that the existing instance stored in the backup storagelocation is associated with an object identifier associated with theobject; and invoking, by a backup application, a version controlmechanism of the authoring application that created or modified theobject stored in the primary storage location to incorporate thesubsequent version data as copied to the backup storage location intothe existing instance of the object as stored in the backup storagelocation; wherein the version control mechanism of the authoringapplication is invoked by the backup application programmatically via anAPI or other interface of the authoring application.
 18. The computerreadable medium of claim 17, wherein the authoring applicationincorporates the subsequent version data into the existing instance ofthe object as stored in the backup storage location by importing thesubsequent version data from a second shared storage location to thebackup storage location.